package org.apache.struts.admin.action;

import java.util.ArrayList;

import com.opensymphony.xwork2.ActionSupport;

public class GetRoleAction extends ActionSupport{

	private ArrayList<String> userRoles;
	
	public ArrayList<String> getUserRoles() {
		return userRoles;
	}


	public String execute() throws Exception {
		userRoles=new ArrayList<String>();
		userRoles.add("ROLE_USER");
		userRoles.add("ROLE_ADMIN");
		return SUCCESS;
	}
}
